﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SceneUi : BaseUi
{
    public static SceneUi instance;
    // Start is called before the first frame update
    void Start()
    {
        SceneUi.instance = this;
        this.enterLoginScene();
    }

    void enterLoginScene() {
        loadUi<LoginUi>("login", "LoginUi", transform);
    }
    public void enterMergeScene() {
        removeAllChildren();
        loadUi<MergeUi>("merge", "MergeUi", transform);
    }
}
